In [1]:
%matplotlib inline
%pylab inline


Populating the interactive namespace from numpy and matplotlib

In [2]:
repeat = 1

Load test data


In [4]:
import menpo.io as mio
from menpo.landmark import labeller, streetscene_car_view_0
from menpofast.utils import convert_from_menpo

group = 'streetscene_car_view_0'

test_images = []
for i in mio.import_images('/data/PhD/DataBases/cars/cmu_car_data1/view0/', verbose=True, 
                           max_images=None):
    
    # convert the image from menpo Image to menpofast Image (channels at front)
    i = convert_from_menpo(i)
    
    labeller(i, 'PTS', eval(group))
    i.crop_to_landmarks_proportion_inplace(1, group=group)
    i = i.rescale_landmarks_to_diagonal_range(200, group=group)
    
    if i.n_channels == 3:
        i = i.as_greyscale(mode='average')
    test_images.append(i)


- Loading 466 assets: [====================] 100%

In [5]:
test_images = test_images[1::2]

In [6]:
from menpo.visualize import visualize_images

visualize_images(test_images)


AAMs

Load


In [7]:
from alabortcvpr2015.utils import pickle_load

aam = pickle_load('/data/PhD/Models/aam_view0_fast_dsift')

AIC

Test


In [10]:
sampling_mask = np.require(np.zeros(aam.parts_shape), dtype=np.bool)
sampling_mask[::2, ::2] = True

imshow(sampling_mask)


Out[10]:
<matplotlib.image.AxesImage at 0x7f2d85568e10>

In [11]:
from alabortcvpr2015.aam import PartsAAMFitter, AIC
                  
fitter = PartsAAMFitter(aam, algorithm_cls=AIC, n_shape=[3, 12],
                        n_appearance=[25, 50], sampling_mask=sampling_mask)

In [12]:
fitter_results = []

for seed in xrange(repeat):
    
    np.random.seed(seed=seed)

    for j, i in enumerate(test_images):
    

        gt_s = i.landmarks[group].lms
        s = fitter.perturb_shape(gt_s, noise_std=0.05)

        fr = fitter.fit(i, s, gt_shape=gt_s, max_iters=20, prior=False)

        fitter_results.append(fr)
        fr.downscale = 0.5

        print 'Image: ', j
        print fr


Image:  0
Initial error: 0.1885
Final error: 0.0511
Image:  1
Initial error: 0.0908
Final error: 0.0396
Image:  2
Initial error: 0.0757
Final error: 0.0332
Image:  3
Initial error: 0.0655
Final error: 0.0308
Image:  4
Initial error: 0.0569
Final error: 0.0343
Image:  5
Initial error: 0.1233
Final error: 0.0444
Image:  6
Initial error: 0.0842
Final error: 0.0250
Image:  7
Initial error: 0.0925
Final error: 0.0594
Image:  8
Initial error: 0.1363
Final error: 0.0507
Image:  9
Initial error: 0.0946
Final error: 0.0516
Image:  10
Initial error: 0.1366
Final error: 0.0522
Image:  11
Initial error: 0.1099
Final error: 0.0660
Image:  12
Initial error: 0.1241
Final error: 0.0546
Image:  13
Initial error: 0.0929
Final error: 0.0272
Image:  14
Initial error: 0.0849
Final error: 0.0485
Image:  15
Initial error: 0.1352
Final error: 0.0556
Image:  16
Initial error: 0.0937
Final error: 0.0308
Image:  17
Initial error: 0.0377
Final error: 0.0466
Image:  18
Initial error: 0.0532
Final error: 0.0393
Image:  19
Initial error: 0.0733
Final error: 0.0375
Image:  20
Initial error: 0.1268
Final error: 0.0268
Image:  21
Initial error: 0.0919
Final error: 0.0464
Image:  22
Initial error: 0.0777
Final error: 0.0684
Image:  23
Initial error: 0.0639
Final error: 0.0470
Image:  24
Initial error: 0.0627
Final error: 0.0358
Image:  25
Initial error: 0.1067
Final error: 0.0302
Image:  26
Initial error: 0.1092
Final error: 0.0593
Image:  27
Initial error: 0.1535
Final error: 0.0485
Image:  28
Initial error: 0.0615
Final error: 0.0232
Image:  29
Initial error: 0.1017
Final error: 0.0272
Image:  30
Initial error: 0.0984
Final error: 0.0463
Image:  31
Initial error: 0.0956
Final error: 0.0422
Image:  32
Initial error: 0.1126
Final error: 0.0881
Image:  33
Initial error: 0.0765
Final error: 0.0497
Image:  34
Initial error: 0.1192
Final error: 0.0408
Image:  35
Initial error: 0.0765
Final error: 0.0432
Image:  36
Initial error: 0.1148
Final error: 0.0648
Image:  37
Initial error: 0.0799
Final error: 0.0325
Image:  38
Initial error: 0.0758
Final error: 0.0561
Image:  39
Initial error: 0.0520
Final error: 0.0549
Image:  40
Initial error: 0.0434
Final error: 0.0310
Image:  41
Initial error: 0.1434
Final error: 0.0445
Image:  42
Initial error: 0.0810
Final error: 0.0362
Image:  43
Initial error: 0.0704
Final error: 0.0313
Image:  44
Initial error: 0.0619
Final error: 0.0528
Image:  45
Initial error: 0.1452
Final error: 0.0327
Image:  46
Initial error: 0.0885
Final error: 0.0538
Image:  47
Initial error: 0.0912
Final error: 0.0394
Image:  48
Initial error: 0.0499
Final error: 0.0318
Image:  49
Initial error: 0.1445
Final error: 0.1478
Image:  50
Initial error: 0.0734
Final error: 0.0369
Image:  51
Initial error: 0.0545
Final error: 0.0326
Image:  52
Initial error: 0.0729
Final error: 0.0262
Image:  53
Initial error: 0.0730
Final error: 0.0604
Image:  54
Initial error: 0.1028
Final error: 0.0276
Image:  55
Initial error: 0.1217
Final error: 0.0387
Image:  56
Initial error: 0.1111
Final error: 0.0296
Image:  57
Initial error: 0.1339
Final error: 0.0548
Image:  58
Initial error: 0.0871
Final error: 0.0248
Image:  59
Initial error: 0.1133
Final error: 0.0476
Image:  60
Initial error: 0.1091
Final error: 0.0336
Image:  61
Initial error: 0.0894
Final error: 0.0340
Image:  62
Initial error: 0.0603
Final error: 0.0246
Image:  63
Initial error: 0.1282
Final error: 0.1261
Image:  64
Initial error: 0.0947
Final error: 0.0451
Image:  65
Initial error: 0.0828
Final error: 0.0348
Image:  66
Initial error: 0.0789
Final error: 0.0176
Image:  67
Initial error: 0.1850
Final error: 0.1305
Image:  68
Initial error: 0.0832
Final error: 0.0712
Image:  69
Initial error: 0.1564
Final error: 0.0448
Image:  70
Initial error: 0.0941
Final error: 0.0325
Image:  71
Initial error: 0.0978
Final error: 0.0318
Image:  72
Initial error: 0.0617
Final error: 0.0248
Image:  73
Initial error: 0.1270
Final error: 0.0368
Image:  74
Initial error: 0.0571
Final error: 0.0305
Image:  75
Initial error: 0.0884
Final error: 0.0161
Image:  76
Initial error: 0.1004
Final error: 0.0424
Image:  77
Initial error: 0.0898
Final error: 0.0454
Image:  78
Initial error: 0.0774
Final error: 0.0418
Image:  79
Initial error: 0.0423
Final error: 0.0545
Image:  80
Initial error: 0.0860
Final error: 0.0386
Image:  81
Initial error: 0.1040
Final error: 0.0397
Image:  82
Initial error: 0.0961
Final error: 0.0530
Image:  83
Initial error: 0.1295
Final error: 0.0315
Image:  84
Initial error: 0.0956
Final error: 0.0455
Image:  85
Initial error: 0.0799
Final error: 0.0518
Image:  86
Initial error: 0.0486
Final error: 0.0351
Image:  87
Initial error: 0.0935
Final error: 0.0374
Image:  88
Initial error: 0.0682
Final error: 0.0773
Image:  89
Initial error: 0.1003
Final error: 0.0643
Image:  90
Initial error: 0.0788
Final error: 0.0415
Image:  91
Initial error: 0.0772
Final error: 0.0405
Image:  92
Initial error: 0.0965
Final error: 0.0437
Image:  93
Initial error: 0.0615
Final error: 0.0235
Image:  94
Initial error: 0.0606
Final error: 0.0320
Image:  95
Initial error: 0.1883
Final error: 0.1316
Image:  96
Initial error: 0.1118
Final error: 0.0232
Image:  97
Initial error: 0.1139
Final error: 0.0387
Image:  98
Initial error: 0.0743
Final error: 0.0364
Image:  99
Initial error: 0.1161
Final error: 0.0442
Image:  100
Initial error: 0.0777
Final error: 0.0408
Image:  101
Initial error: 0.0536
Final error: 0.0424
Image:  102
Initial error: 0.0923
Final error: 0.0370
Image:  103
Initial error: 0.0869
Final error: 0.0908
Image:  104
Initial error: 0.1400
Final error: 0.0193
Image:  105
Initial error: 0.0899
Final error: 0.0364
Image:  106
Initial error: 0.1703
Final error: 0.0176
Image:  107
Initial error: 0.1145
Final error: 0.0323
Image:  108
Initial error: 0.0823
Final error: 0.0353
Image:  109
Initial error: 0.0876
Final error: 0.0253
Image:  110
Initial error: 0.0704
Final error: 0.0338
Image:  111
Initial error: 0.0567
Final error: 0.0302
Image:  112
Initial error: 0.0783
Final error: 0.0426
Image:  113
Initial error: 0.1236
Final error: 0.0393
Image:  114
Initial error: 0.0429
Final error: 0.0474
Image:  115
Initial error: 0.1076
Final error: 0.0636
Image:  116
Initial error: 0.1010
Final error: 0.0590
Image:  117
Initial error: 0.1731
Final error: 0.1351
Image:  118
Initial error: 0.0993
Final error: 0.0400
Image:  119
Initial error: 0.1079
Final error: 0.0282
Image:  120
Initial error: 0.0697
Final error: 0.0335
Image:  121
Initial error: 0.0957
Final error: 0.0377
Image:  122
Initial error: 0.0873
Final error: 0.0203
Image:  123
Initial error: 0.1327
Final error: 0.0515
Image:  124
Initial error: 0.0958
Final error: 0.0343
Image:  125
Initial error: 0.0811
Final error: 0.0777
Image:  126
Initial error: 0.1426
Final error: 0.0414
Image:  127
Initial error: 0.1306
Final error: 0.1170
Image:  128
Initial error: 0.0817
Final error: 0.0425
Image:  129
Initial error: 0.1184
Final error: 0.0266
Image:  130
Initial error: 0.1276
Final error: 0.0406
Image:  131
Initial error: 0.0922
Final error: 0.1026
Image:  132
Initial error: 0.1675
Final error: 0.1221
Image:  133
Initial error: 0.0856
Final error: 0.0818
Image:  134
Initial error: 0.0616
Final error: 0.0408
Image:  135
Initial error: 0.0984
Final error: 0.0399
Image:  136
Initial error: 0.1706
Final error: 0.0340
Image:  137
Initial error: 0.0462
Final error: 0.0255
Image:  138
Initial error: 0.1024
Final error: 0.0308
Image:  139
Initial error: 0.1617
Final error: 0.0932
Image:  140
Initial error: 0.0851
Final error: 0.0341
Image:  141
Initial error: 0.0348
Final error: 0.0386
Image:  142
Initial error: 0.1132
Final error: 0.0324
Image:  143
Initial error: 0.0921
Final error: 0.0271
Image:  144
Initial error: 0.0634
Final error: 0.0483
Image:  145
Initial error: 0.1193
Final error: 0.0368
Image:  146
Initial error: 0.1084
Final error: 0.0419
Image:  147
Initial error: 0.0517
Final error: 0.0389
Image:  148
Initial error: 0.0656
Final error: 0.0252
Image:  149
Initial error: 0.0822
Final error: 0.0406
Image:  150
Initial error: 0.0923
Final error: 0.0335
Image:  151
Initial error: 0.1502
Final error: 0.0663
Image:  152
Initial error: 0.1159
Final error: 0.0276
Image:  153
Initial error: 0.0749
Final error: 0.0303
Image:  154
Initial error: 0.1199
Final error: 0.0651
Image:  155
Initial error: 0.0812
Final error: 0.0850
Image:  156
Initial error: 0.0995
Final error: 0.0279
Image:  157
Initial error: 0.0664
Final error: 0.0342
Image:  158
Initial error: 0.0884
Final error: 0.0195
Image:  159
Initial error: 0.0757
Final error: 0.0279
Image:  160
Initial error: 0.1037
Final error: 0.0322
Image:  161
Initial error: 0.0819
Final error: 0.0227
Image:  162
Initial error: 0.1601
Final error: 0.0462
Image:  163
Initial error: 0.1180
Final error: 0.0393
Image:  164
Initial error: 0.0940
Final error: 0.0404
Image:  165
Initial error: 0.0734
Final error: 0.0378
Image:  166
Initial error: 0.0619
Final error: 0.0302
Image:  167
Initial error: 0.1766
Final error: 0.0621
Image:  168
Initial error: 0.0637
Final error: 0.0277
Image:  169
Initial error: 0.0825
Final error: 0.0610
Image:  170
Initial error: 0.0831
Final error: 0.0449
Image:  171
Initial error: 0.1407
Final error: 0.0429
Image:  172
Initial error: 0.1022
Final error: 0.0306
Image:  173
Initial error: 0.0736
Final error: 0.0311
Image:  174
Initial error: 0.0737
Final error: 0.0376
Image:  175
Initial error: 0.1189
Final error: 0.0311
Image:  176
Initial error: 0.0568
Final error: 0.0467
Image:  177
Initial error: 0.0794
Final error: 0.0257
Image:  178
Initial error: 0.0591
Final error: 0.0301
Image:  179
Initial error: 0.0845
Final error: 0.0387
Image:  180
Initial error: 0.1453
Final error: 0.0443
Image:  181
Initial error: 0.0972
Final error: 0.0275
Image:  182
Initial error: 0.0418
Final error: 0.0406
Image:  183
Initial error: 0.1773
Final error: 0.0223
Image:  184
Initial error: 0.0569
Final error: 0.0384
Image:  185
Initial error: 0.0750
Final error: 0.0303
Image:  186
Initial error: 0.0653
Final error: 0.0254
Image:  187
Initial error: 0.1472
Final error: 0.0279
Image:  188
Initial error: 0.1280
Final error: 0.0253
Image:  189
Initial error: 0.0997
Final error: 0.0528
Image:  190
Initial error: 0.0717
Final error: 0.0443
Image:  191
Initial error: 0.0206
Final error: 0.0481
Image:  192
Initial error: 0.0629
Final error: 0.0646
Image:  193
Initial error: 0.1419
Final error: 0.0525
Image:  194
Initial error: 0.0990
Final error: 0.0398
Image:  195
Initial error: 0.0864
Final error: 0.0351
Image:  196
Initial error: 0.0785
Final error: 0.0664
Image:  197
Initial error: 0.1179
Final error: 0.0464
Image:  198
Initial error: 0.1166
Final error: 0.0527
Image:  199
Initial error: 0.0671
Final error: 0.0417
Image:  200
Initial error: 0.0742
Final error: 0.0450
Image:  201
Initial error: 0.0484
Final error: 0.0337
Image:  202
Initial error: 0.0808
Final error: 0.0426
Image:  203
Initial error: 0.1398
Final error: 0.0386
Image:  204
Initial error: 0.0759
Final error: 0.0253
Image:  205
Initial error: 0.0722
Final error: 0.0313
Image:  206
Initial error: 0.1304
Final error: 0.0375
Image:  207
Initial error: 0.1083
Final error: 0.0251
Image:  208
Initial error: 0.0749
Final error: 0.0459
Image:  209
Initial error: 0.0423
Final error: 0.0236
Image:  210
Initial error: 0.1316
Final error: 0.0284
Image:  211
Initial error: 0.0911
Final error: 0.0183
Image:  212
Initial error: 0.1632
Final error: 0.0225
Image:  213
Initial error: 0.0934
Final error: 0.0323
Image:  214
Initial error: 0.0988
Final error: 0.0252
Image:  215
Initial error: 0.0713
Final error: 0.0289
Image:  216
Initial error: 0.0663
Final error: 0.0350
Image:  217
Initial error: 0.0815
Final error: 0.0286
Image:  218
Initial error: 0.0835
Final error: 0.0283
Image:  219
Initial error: 0.1197
Final error: 0.0527
Image:  220
Initial error: 0.0668
Final error: 0.0301
Image:  221
Initial error: 0.0988
Final error: 0.0407
Image:  222
Initial error: 0.0515
Final error: 0.0392
Image:  223
Initial error: 0.1400
Final error: 0.0331
Image:  224
Initial error: 0.1090
Final error: 0.0531
Image:  225
Initial error: 0.0685
Final error: 0.0283
Image:  226
Initial error: 0.1082
Final error: 0.0594
Image:  227
Initial error: 0.0810
Final error: 0.0476
Image:  228
Initial error: 0.0934
Final error: 0.0281
Image:  229
Initial error: 0.0532
Final error: 0.0258
Image:  230
Initial error: 0.0635
Final error: 0.0196
Image:  231
Initial error: 0.0582
Final error: 0.0289
Image:  232
Initial error: 0.0742
Final error: 0.0386

Visualize Results


In [13]:
from menpofit.visualize import visualize_fitting_results
    
visualize_fitting_results(fitter_results)


Save Results


In [17]:
from alabortcvpr2015.utils import pickle_dump
from alabortcvpr2015.result import SerializableResult

results = [SerializableResult('none', fr.final_shape, fr.n_iters, 'AIC', fr.gt_shape) 
           for fr in fitter_results]

pickle_dump(results, '/data/PhD/Results/aam_aic_view0_fast_dsift')

Timing

Total


In [21]:
%timeit fitter.fit(i, s, gt_shape=gt_s, max_iters=20)


10 loops, best of 3: 61.1 ms per loop

Per line


In [22]:
#import line_profiler
#import IPython

#ip = IPython.get_ipython()
#ip.define_magic('lprun', line_profiler.magic_lprun)

In [23]:
#from alabortcvpr2015.aam import AIC

#%lprun -f AIC.run fitter.fit(i, s, gt_shape=gt_s, max_iters=20)

PIC

Test


In [24]:
sampling_mask = np.require(np.zeros(aam.parts_shape), dtype=np.bool)
sampling_mask[::2, ::2] = True


imshow(sampling_mask)


Out[24]:
<matplotlib.image.AxesImage at 0x7f2d84bcc190>

In [25]:
from alabortcvpr2015.aam import PartsAAMFitter, PIC
                  
fitter = PartsAAMFitter(aam, algorithm_cls=PIC, n_shape=[3, 12],
                        n_appearance=[25, 50], sampling_mask=sampling_mask)

In [26]:
fitter_results = []

for j, i in enumerate(test_images):
    
    for seed in xrange(5):
    
        np.random.seed(seed=seed)

        gt_s = i.landmarks[group].lms
        s = fitter.perturb_shape(gt_s, noise_std=0.05)

        fr = fitter.fit(i, s, gt_shape=gt_s, max_iters=20, prior=False)

        fitter_results.append(fr)
        fr.downscale = 0.5

        print 'Image: ', j
        print fr


Image:  0
Initial error: 0.1885
Final error: 0.0632
Image:  0
Initial error: 0.0784
Final error: 0.0645
Image:  0
Initial error: 0.1365
Final error: 0.0707
Image:  0
Initial error: 0.1009
Final error: 0.0655
Image:  0
Initial error: 0.0836
Final error: 0.0669
Image:  1
Initial error: 0.1758
Final error: 0.0510
Image:  1
Initial error: 0.0473
Final error: 0.0553
Image:  1
Initial error: 0.1375
Final error: 0.0552
Image:  1
Initial error: 0.0803
Final error: 0.0546
Image:  1
Initial error: 0.0689
Final error: 0.0602
Image:  2
Initial error: 0.1806
Final error: 0.2653
Image:  2
Initial error: 0.0501
Final error: 0.0392
Image:  2
Initial error: 0.1350
Final error: 0.0410
Image:  2
Initial error: 0.0803
Final error: 0.0390
Image:  2
Initial error: 0.0652
Final error: 0.0526
Image:  3
Initial error: 0.1892
Final error: 0.0261
Image:  3
Initial error: 0.0630
Final error: 0.0212
Image:  3
Initial error: 0.1350
Final error: 0.0335
Image:  3
Initial error: 0.0852
Final error: 0.0209
Image:  3
Initial error: 0.0687
Final error: 0.0265
Image:  4
Initial error: 0.1821
Final error: 0.1119
Image:  4
Initial error: 0.0524
Final error: 0.0758
Image:  4
Initial error: 0.1333
Final error: 0.0681
Image:  4
Initial error: 0.0858
Final error: 0.0563
Image:  4
Initial error: 0.0663
Final error: 0.0575
Image:  5
Initial error: 0.1945
Final error: 0.1480
Image:  5
Initial error: 0.0871
Final error: 0.0551
Image:  5
Initial error: 0.1429
Final error: 0.0419
Image:  5
Initial error: 0.1067
Final error: 0.0516
Image:  5
Initial error: 0.0899
Final error: 0.0497
Image:  6
Initial error: 0.1833
Final error: 0.0278
Image:  6
Initial error: 0.0580
Final error: 0.0297
Image:  6
Initial error: 0.1378
Final error: 0.0311
Image:  6
Initial error: 0.0831
Final error: 0.0329
Image:  6
Initial error: 0.0730
Final error: 0.0356
Image:  7
Initial error: 0.1825
Final error: 0.1220
Image:  7
Initial error: 0.0704
Final error: 0.0646
Image:  7
Initial error: 0.1445
Final error: 0.1393
Image:  7
Initial error: 0.0875
Final error: 0.0731
Image:  7
Initial error: 0.0898
Final error: 0.0719
Image:  8
Initial error: 0.1928
Final error: 0.0555
Image:  8
Initial error: 0.1354
Final error: 0.0611
Image:  8
Initial error: 0.1768
Final error: 0.0549
Image:  8
Initial error: 0.1460
Final error: 0.0597
Image:  8
Initial error: 0.1405
Final error: 0.0526
Image:  9
Initial error: 0.1835
Final error: 0.1585
Image:  9
Initial error: 0.0977
Final error: 0.0617
Image:  9
Initial error: 0.1575
Final error: 0.0592
Image:  9
Initial error: 0.1143
Final error: 0.0660
Image:  9
Initial error: 0.1071
Final error: 0.0683
Image:  10
Initial error: 0.1823
Final error: 0.0335
Image:  10
Initial error: 0.0650
Final error: 0.0371
Image:  10
Initial error: 0.1390
Final error: 0.0468
Image:  10
Initial error: 0.0896
Final error: 0.0379
Image:  10
Initial error: 0.0792
Final error: 0.0396
Image:  11
Initial error: 0.1823
Final error: 0.0516
Image:  11
Initial error: 0.0770
Final error: 0.0448
Image:  11
Initial error: 0.1500
Final error: 0.0467
Image:  11
Initial error: 0.0956
Final error: 0.0539
Image:  11
Initial error: 0.0984
Final error: 0.0500
Image:  12
Initial error: 0.1998
Final error: 0.1852
Image:  12
Initial error: 0.1046
Final error: 0.0693
Image:  12
Initial error: 0.1478
Final error: 0.1259
Image:  12
Initial error: 0.1196
Final error: 0.0732
Image:  12
Initial error: 0.1094
Final error: 0.0964
Image:  13
Initial error: 0.1768
Final error: 0.2073
Image:  13
Initial error: 0.0942
Final error: 0.0569
Image:  13
Initial error: 0.1546
Final error: 0.0555
Image:  13
Initial error: 0.1157
Final error: 0.0506
Image:  13
Initial error: 0.1046
Final error: 0.0475
Image:  14
Initial error: 0.1858
Final error: 0.0873
Image:  14
Initial error: 0.0787
Final error: 0.0503
Image:  14
Initial error: 0.1439
Final error: 0.0514
Image:  14
Initial error: 0.0967
Final error: 0.0545
Image:  14
Initial error: 0.0906
Final error: 0.0496
Image:  15
Initial error: 0.1801
Final error: 0.0561
Image:  15
Initial error: 0.0460
Final error: 0.0628
Image:  15
Initial error: 0.1361
Final error: 0.0510
Image:  15
Initial error: 0.0737
Final error: 0.0572
Image:  15
Initial error: 0.0655
Final error: 0.0714
Image:  16
Initial error: 0.1917
Final error: 0.0380
Image:  16
Initial error: 0.0699
Final error: 0.0423
Image:  16
Initial error: 0.1442
Final error: 0.1184
Image:  16
Initial error: 0.1043
Final error: 0.0444
Image:  16
Initial error: 0.0845
Final error: 0.0416
Image:  17
Initial error: 0.1842
Final error: 0.2467
Image:  17
Initial error: 0.0520
Final error: 0.0634
Image:  17
Initial error: 0.1351
Final error: 0.0732
Image:  17
Initial error: 0.0827
Final error: 0.0637
Image:  17
Initial error: 0.0676
Final error: 0.0732
Image:  18
Initial error: 0.1815
Final error: 0.0506
Image:  18
Initial error: 0.0453
Final error: 0.0550
Image:  18
Initial error: 0.1376
Final error: 0.0500
Image:  18
Initial error: 0.0802
Final error: 0.0448
Image:  18
Initial error: 0.0681
Final error: 0.0524
Image:  19
Initial error: 0.1837
Final error: 0.2092
Image:  19
Initial error: 0.0685
Final error: 0.1098
Image:  19
Initial error: 0.1415
Final error: 0.1129
Image:  19
Initial error: 0.0916
Final error: 0.0940
Image:  19
Initial error: 0.0817
Final error: 0.0771
Image:  20
Initial error: 0.1868
Final error: 0.2511
Image:  20
Initial error: 0.0518
Final error: 0.0802
Image:  20
Initial error: 0.1344
Final error: 0.0764
Image:  20
Initial error: 0.0807
Final error: 0.0907
Image:  20
Initial error: 0.0648
Final error: 0.0693
Image:  21
Initial error: 0.1841
Final error: 0.1144
Image:  21
Initial error: 0.0606
Final error: 0.0675
Image:  21
Initial error: 0.1341
Final error: 0.0566
Image:  21
Initial error: 0.0843
Final error: 0.0652
Image:  21
Initial error: 0.0698
Final error: 0.0736
Image:  22
Initial error: 0.1855
Final error: 0.0581
Image:  22
Initial error: 0.0597
Final error: 0.0677
Image:  22
Initial error: 0.1402
Final error: 0.0548
Image:  22
Initial error: 0.0957
Final error: 0.0595
Image:  22
Initial error: 0.0792
Final error: 0.0572
Image:  23
Initial error: 0.1854
Final error: 0.0651
Image:  23
Initial error: 0.0651
Final error: 0.0258
Image:  23
Initial error: 0.1393
Final error: 0.0352
Image:  23
Initial error: 0.0946
Final error: 0.0307
Image:  23
Initial error: 0.0743
Final error: 0.0277
Image:  24
Initial error: 0.1772
Final error: 0.3307
Image:  24
Initial error: 0.0717
Final error: 0.0429
Image:  24
Initial error: 0.1434
Final error: 0.0292
Image:  24
Initial error: 0.1012
Final error: 0.0340
Image:  24
Initial error: 0.0808
Final error: 0.0279
Image:  25
Initial error: 0.1912
Final error: 0.2641
Image:  25
Initial error: 0.0856
Final error: 0.0565
Image:  25
Initial error: 0.1438
Final error: 0.0447
Image:  25
Initial error: 0.1037
Final error: 0.0506
Image:  25
Initial error: 0.0887
Final error: 0.0616
Image:  26
Initial error: 0.1803
Final error: 0.0710
Image:  26
Initial error: 0.0670
Final error: 0.0678
Image:  26
Initial error: 0.1471
Final error: 0.1529
Image:  26
Initial error: 0.0941
Final error: 0.0683
Image:  26
Initial error: 0.0859
Final error: 0.0685
Image:  27
Initial error: 0.1858
Final error: 0.0915
Image:  27
Initial error: 0.0464
Final error: 0.0951
Image:  27
Initial error: 0.1343
Final error: 0.2698
Image:  27
Initial error: 0.0840
Final error: 0.0857
Image:  27
Initial error: 0.0642
Final error: 0.0911
Image:  28
Initial error: 0.1848
Final error: 0.0358
Image:  28
Initial error: 0.0589
Final error: 0.0459
Image:  28
Initial error: 0.1366
Final error: 0.0299
Image:  28
Initial error: 0.0890
Final error: 0.0376
Image:  28
Initial error: 0.0704
Final error: 0.0514
Image:  29
Initial error: 0.2005
Final error: 0.0644
Image:  29
Initial error: 0.0679
Final error: 0.0341
Image:  29
Initial error: 0.1338
Final error: 0.0483
Image:  29
Initial error: 0.0956
Final error: 0.0367
Image:  29
Initial error: 0.0749
Final error: 0.0264
Image:  30
Initial error: 0.1819
Final error: 0.0913
Image:  30
Initial error: 0.0817
Final error: 0.0955
Image:  30
Initial error: 0.1464
Final error: 0.0946
Image:  30
Initial error: 0.0977
Final error: 0.0965
Image:  30
Initial error: 0.0918
Final error: 0.0953
Image:  31
Initial error: 0.1828
Final error: 0.0324
Image:  31
Initial error: 0.0522
Final error: 0.0330
Image:  31
Initial error: 0.1362
Final error: 0.0381
Image:  31
Initial error: 0.0812
Final error: 0.0327
Image:  31
Initial error: 0.0675
Final error: 0.0291
Image:  32
Initial error: 0.1798
Final error: 0.1278
Image:  32
Initial error: 0.1192
Final error: 0.1343
Image:  32
Initial error: 0.1660
Final error: 0.1364
Image:  32
Initial error: 0.1346
Final error: 0.1175
Image:  32
Initial error: 0.1215
Final error: 0.1135
Image:  33
Initial error: 0.1822
Final error: 0.3359
Image:  33
Initial error: 0.0682
Final error: 0.0821
Image:  33
Initial error: 0.1413
Final error: 0.0553
Image:  33
Initial error: 0.0941
Final error: 0.1469
Image:  33
Initial error: 0.0786
Final error: 0.0488
Image:  34
Initial error: 0.1891
Final error: 0.0288
Image:  34
Initial error: 0.1149
Final error: 0.0367
Image:  34
Initial error: 0.1650
Final error: 0.0291
Image:  34
Initial error: 0.1273
Final error: 0.0282
Image:  34
Initial error: 0.1251
Final error: 0.0307
Image:  35
Initial error: 0.1800
Final error: 0.0896
Image:  35
Initial error: 0.0705
Final error: 0.0472
Image:  35
Initial error: 0.1452
Final error: 0.0381
Image:  35
Initial error: 0.0886
Final error: 0.0486
Image:  35
Initial error: 0.0913
Final error: 0.0502
Image:  36
Initial error: 0.1770
Final error: 0.0582
Image:  36
Initial error: 0.0483
Final error: 0.0384
Image:  36
Initial error: 0.1399
Final error: 0.0623
Image:  36
Initial error: 0.0781
Final error: 0.0610
Image:  36
Initial error: 0.0711
Final error: 0.0669
Image:  37
Initial error: 0.1852
Final error: 0.0364
Image:  37
Initial error: 0.0676
Final error: 0.0338
Image:  37
Initial error: 0.1365
Final error: 0.0355
Image:  37
Initial error: 0.0916
Final error: 0.0341
Image:  37
Initial error: 0.0720
Final error: 0.0354
Image:  38
Initial error: 0.1809
Final error: 0.0786
Image:  38
Initial error: 0.0613
Final error: 0.0658
Image:  38
Initial error: 0.1368
Final error: 0.0642
Image:  38
Initial error: 0.0849
Final error: 0.0781
Image:  38
Initial error: 0.0730
Final error: 0.0731
Image:  39
Initial error: 0.1827
Final error: 0.1213
Image:  39
Initial error: 0.0469
Final error: 0.1222
Image:  39
Initial error: 0.1348
Final error: 0.1325
Image:  39
Initial error: 0.0781
Final error: 0.1393
Image:  39
Initial error: 0.0665
Final error: 0.1410
Image:  40
Initial error: 0.1882
Final error: 0.3327
Image:  40
Initial error: 0.0536
Final error: 0.0659
Image:  40
Initial error: 0.1329
Final error: 0.0666
Image:  40
Initial error: 0.0865
Final error: 0.0711
Image:  40
Initial error: 0.0661
Final error: 0.0658
Image:  41
Initial error: 0.1739
Final error: 0.2932
Image:  41
Initial error: 0.0736
Final error: 0.0525
Image:  41
Initial error: 0.1466
Final error: 0.0528
Image:  41
Initial error: 0.1010
Final error: 0.0508
Image:  41
Initial error: 0.0865
Final error: 0.0651
Image:  42
Initial error: 0.1747
Final error: 0.0507
Image:  42
Initial error: 0.0540
Final error: 0.0579
Image:  42
Initial error: 0.1381
Final error: 0.0582
Image:  42
Initial error: 0.0858
Final error: 0.0508
Image:  42
Initial error: 0.0712
Final error: 0.0481
Image:  43
Initial error: 0.1786
Final error: 0.0319
Image:  43
Initial error: 0.0504
Final error: 0.0367
Image:  43
Initial error: 0.1353
Final error: 0.0532
Image:  43
Initial error: 0.0830
Final error: 0.0346
Image:  43
Initial error: 0.0679
Final error: 0.0367
Image:  44
Initial error: 0.1784
Final error: 0.0500
Image:  44
Initial error: 0.0493
Final error: 0.0486
Image:  44
Initial error: 0.1344
Final error: 0.1510
Image:  44
Initial error: 0.0890
Final error: 0.0499
Image:  44
Initial error: 0.0672
Final error: 0.0528
Image:  45
Initial error: 0.1779
Final error: 0.0686
Image:  45
Initial error: 0.0498
Final error: 0.0732
Image:  45
Initial error: 0.1383
Final error: 0.0672
Image:  45
Initial error: 0.0833
Final error: 0.0771
Image:  45
Initial error: 0.0697
Final error: 0.0643
Image:  46
Initial error: 0.1733
Final error: 0.3259
Image:  46
Initial error: 0.0850
Final error: 0.0378
Image:  46
Initial error: 0.1523
Final error: 0.0640
Image:  46
Initial error: 0.1056
Final error: 0.0882
Image:  46
Initial error: 0.0946
Final error: 0.0497
Image:  47
Initial error: 0.1775
Final error: 0.2410
Image:  47
Initial error: 0.0579
Final error: 0.0666
Image:  47
Initial error: 0.1399
Final error: 0.0678
Image:  47
Initial error: 0.0845
Final error: 0.0659
Image:  47
Initial error: 0.0710
Final error: 0.0549
Image:  48
Initial error: 0.1900
Final error: 0.0489
Image:  48
Initial error: 0.0590
Final error: 0.0437
Image:  48
Initial error: 0.1347
Final error: 0.0451
Image:  48
Initial error: 0.0881
Final error: 0.0456
Image:  48
Initial error: 0.0682
Final error: 0.0478
Image:  49
Initial error: 0.1685
Final error: 0.2721
Image:  49
Initial error: 0.0950
Final error: 0.0522
Image:  49
Initial error: 0.1601
Final error: 0.2265
Image:  49
Initial error: 0.1208
Final error: 0.0604
Image:  49
Initial error: 0.1024
Final error: 0.2139
Image:  50
Initial error: 0.1997
Final error: 0.3582
Image:  50
Initial error: 0.0744
Final error: 0.0795
Image:  50
Initial error: 0.1346
Final error: 0.1061
Image:  50
Initial error: 0.0982
Final error: 0.0934
Image:  50
Initial error: 0.0785
Final error: 0.0925
Image:  51
Initial error: 0.1935
Final error: 0.3856
Image:  51
Initial error: 0.0551
Final error: 0.0562
Image:  51
Initial error: 0.1315
Final error: 0.0515
Image:  51
Initial error: 0.0895
Final error: 0.0545
Image:  51
Initial error: 0.0628
Final error: 0.0509
Image:  52
Initial error: 0.1818
Final error: 0.0318
Image:  52
Initial error: 0.0671
Final error: 0.0348
Image:  52
Initial error: 0.1395
Final error: 0.0358
Image:  52
Initial error: 0.0927
Final error: 0.0331
Image:  52
Initial error: 0.0802
Final error: 0.0364
Image:  53
Initial error: 0.1820
Final error: 0.1020
Image:  53
Initial error: 0.0675
Final error: 0.1262
Image:  53
Initial error: 0.1450
Final error: 0.1205
Image:  53
Initial error: 0.0939
Final error: 0.1095
Image:  53
Initial error: 0.0878
Final error: 0.1147
Image:  54
Initial error: 0.1799
Final error: 0.2927
Image:  54
Initial error: 0.0553
Final error: 0.0451
Image:  54
Initial error: 0.1387
Final error: 0.0364
Image:  54
Initial error: 0.0862
Final error: 0.0409
Image:  54
Initial error: 0.0740
Final error: 0.0480
Image:  55
Initial error: 0.1950
Final error: 0.1009
Image:  55
Initial error: 0.1171
Final error: 0.0506
Image:  55
Initial error: 0.1669
Final error: 0.1057
Image:  55
Initial error: 0.1294
Final error: 0.0636
Image:  55
Initial error: 0.1246
Final error: 0.0592
Image:  56
Initial error: 0.1854
Final error: 0.0802
Image:  56
Initial error: 0.1087
Final error: 0.0535
Image:  56
Initial error: 0.1632
Final error: 0.0722
Image:  56
Initial error: 0.1235
Final error: 0.0697
Image:  56
Initial error: 0.1196
Final error: 0.0648
Image:  57
Initial error: 0.1818
Final error: 0.1000
Image:  57
Initial error: 0.0982
Final error: 0.0846
Image:  57
Initial error: 0.1559
Final error: 0.0810
Image:  57
Initial error: 0.1101
Final error: 0.0901
Image:  57
Initial error: 0.1075
Final error: 0.0854
Image:  58
Initial error: 0.1841
Final error: 0.0723
Image:  58
Initial error: 0.0620
Final error: 0.0658
Image:  58
Initial error: 0.1376
Final error: 0.0678
Image:  58
Initial error: 0.0909
Final error: 0.0657
Image:  58
Initial error: 0.0753
Final error: 0.0724
Image:  59
Initial error: 0.1776
Final error: 0.0721
Image:  59
Initial error: 0.0948
Final error: 0.0602
Image:  59
Initial error: 0.1552
Final error: 0.0467
Image:  59
Initial error: 0.1104
Final error: 0.0447
Image:  59
Initial error: 0.1048
Final error: 0.0460
Image:  60
Initial error: 0.1917
Final error: 0.0565
Image:  60
Initial error: 0.1076
Final error: 0.0569
Image:  60
Initial error: 0.1631
Final error: 0.0771
Image:  60
Initial error: 0.1189
Final error: 0.0551
Image:  60
Initial error: 0.1188
Final error: 0.0553
Image:  61
Initial error: 0.1793
Final error: 0.0865
Image:  61
Initial error: 0.0754
Final error: 0.0436
Image:  61
Initial error: 0.1449
Final error: 0.0576
Image:  61
Initial error: 0.0950
Final error: 0.0413
Image:  61
Initial error: 0.0909
Final error: 0.0399
Image:  62
Initial error: 0.1786
Final error: 0.0359
Image:  62
Initial error: 0.0355
Final error: 0.0333
Image:  62
Initial error: 0.1329
Final error: 0.0421
Image:  62
Initial error: 0.0778
Final error: 0.0336
Image:  62
Initial error: 0.0611
Final error: 0.0365
Image:  63
Initial error: 0.2003
Final error: 0.2534
Image:  63
Initial error: 0.1270
Final error: 0.1301
Image:  63
Initial error: 0.1708
Final error: 0.0762
Image:  63
Initial error: 0.1401
Final error: 0.1572
Image:  63
Initial error: 0.1367
Final error: 0.0569
Image:  64
Initial error: 0.1911
Final error: 0.0297
Image:  64
Initial error: 0.0503
Final error: 0.0295
Image:  64
Initial error: 0.1319
Final error: 0.0422
Image:  64
Initial error: 0.0851
Final error: 0.0294
Image:  64
Initial error: 0.0646
Final error: 0.0342
Image:  65
Initial error: 0.1798
Final error: 0.0657
Image:  65
Initial error: 0.0494
Final error: 0.0490
Image:  65
Initial error: 0.1367
Final error: 0.0520
Image:  65
Initial error: 0.0841
Final error: 0.0555
Image:  65
Initial error: 0.0709
Final error: 0.0551
Image:  66
Initial error: 0.1836
Final error: 0.0239
Image:  66
Initial error: 0.0705
Final error: 0.0243
Image:  66
Initial error: 0.1376
Final error: 0.0249
Image:  66
Initial error: 0.0931
Final error: 0.0275
Image:  66
Initial error: 0.0795
Final error: 0.0312
Image:  67
Initial error: 0.1891
Final error: 0.0404
Image:  67
Initial error: 0.1010
Final error: 0.0379
Image:  67
Initial error: 0.1545
Final error: 0.0337
Image:  67
Initial error: 0.1202
Final error: 0.0322
Image:  67
Initial error: 0.1073
Final error: 0.0331
Image:  68
Initial error: 0.1867
Final error: 0.1274
Image:  68
Initial error: 0.0778
Final error: 0.0771
Image:  68
Initial error: 0.1463
Final error: 0.0745
Image:  68
Initial error: 0.1048
Final error: 0.0765
Image:  68
Initial error: 0.0851
Final error: 0.0771
Image:  69
Initial error: 0.1910
Final error: 0.0349
Image:  69
Initial error: 0.0675
Final error: 0.0269
Image:  69
Initial error: 0.1376
Final error: 0.0775
Image:  69
Initial error: 0.0886
Final error: 0.0394
Image:  69
Initial error: 0.0801
Final error: 0.0444
Image:  70
Initial error: 0.1834
Final error: 0.0363
Image:  70
Initial error: 0.0594
Final error: 0.0312
Image:  70
Initial error: 0.1364
Final error: 0.0344
Image:  70
Initial error: 0.0880
Final error: 0.0368
Image:  70
Initial error: 0.0720
Final error: 0.0360
Image:  71
Initial error: 0.1809
Final error: 0.2175
Image:  71
Initial error: 0.0742
Final error: 0.0227
Image:  71
Initial error: 0.1461
Final error: 0.1762
Image:  71
Initial error: 0.0931
Final error: 0.0255
Image:  71
Initial error: 0.0894
Final error: 0.0661
Image:  72
Initial error: 0.1897
Final error: 0.0358
Image:  72
Initial error: 0.0657
Final error: 0.0379
Image:  72
Initial error: 0.1364
Final error: 0.0535
Image:  72
Initial error: 0.0926
Final error: 0.0405
Image:  72
Initial error: 0.0779
Final error: 0.0379
Image:  73
Initial error: 0.1830
Final error: 0.2655
Image:  73
Initial error: 0.0586
Final error: 0.0801
Image:  73
Initial error: 0.1367
Final error: 0.0883
Image:  73
Initial error: 0.0880
Final error: 0.0814
Image:  73
Initial error: 0.0697
Final error: 0.0899
Image:  74
Initial error: 0.1788
Final error: 0.0465
Image:  74
Initial error: 0.0625
Final error: 0.0436
Image:  74
Initial error: 0.1367
Final error: 0.0474
Image:  74
Initial error: 0.0921
Final error: 0.0588
Image:  74
Initial error: 0.0740
Final error: 0.0500
Image:  75
Initial error: 0.1828
Final error: 0.2143
Image:  75
Initial error: 0.0446
Final error: 0.0211
Image:  75
Initial error: 0.1343
Final error: 0.0236
Image:  75
Initial error: 0.0810
Final error: 0.0343
Image:  75
Initial error: 0.0646
Final error: 0.0228
Image:  76
Initial error: 0.1817
Final error: 0.2730
Image:  76
Initial error: 0.0653
Final error: 0.0460
Image:  76
Initial error: 0.1389
Final error: 0.0511
Image:  76
Initial error: 0.0891
Final error: 0.0482
Image:  76
Initial error: 0.0776
Final error: 0.0486
Image:  77
Initial error: 0.1845
Final error: 0.2011
Image:  77
Initial error: 0.0873
Final error: 0.0500
Image:  77
Initial error: 0.1438
Final error: 0.0660
Image:  77
Initial error: 0.1086
Final error: 0.0594
Image:  77
Initial error: 0.0934
Final error: 0.0669
Image:  78
Initial error: 0.1858
Final error: 0.2047
Image:  78
Initial error: 0.0635
Final error: 0.0543
Image:  78
Initial error: 0.1356
Final error: 0.1228
Image:  78
Initial error: 0.0932
Final error: 0.0444
Image:  78
Initial error: 0.0713
Final error: 0.0608
Image:  79
Initial error: 0.1816
Final error: 0.1096
Image:  79
Initial error: 0.0447
Final error: 0.0965
Image:  79
Initial error: 0.1366
Final error: 0.1033
Image:  79
Initial error: 0.0792
Final error: 0.1066
Image:  79
Initial error: 0.0687
Final error: 0.1154
Image:  80
Initial error: 0.1819
Final error: 0.1034
Image:  80
Initial error: 0.0619
Final error: 0.0589
Image:  80
Initial error: 0.1434
Final error: 0.0510
Image:  80
Initial error: 0.0864
Final error: 0.0566
Image:  80
Initial error: 0.0853
Final error: 0.0545
Image:  81
Initial error: 0.1803
Final error: 0.2070
Image:  81
Initial error: 0.0408
Final error: 0.0547
Image:  81
Initial error: 0.1337
Final error: 0.0559
Image:  81
Initial error: 0.0817
Final error: 0.0583
Image:  81
Initial error: 0.0650
Final error: 0.0615
Image:  82
Initial error: 0.1820
Final error: 0.0463
Image:  82
Initial error: 0.0472
Final error: 0.0661
Image:  82
Initial error: 0.1338
Final error: 0.0723
Image:  82
Initial error: 0.0878
Final error: 0.0715
Image:  82
Initial error: 0.0664
Final error: 0.0518
Image:  83
Initial error: 0.1798
Final error: 0.2306
Image:  83
Initial error: 0.0710
Final error: 0.0711
Image:  83
Initial error: 0.1426
Final error: 0.0577
Image:  83
Initial error: 0.0916
Final error: 0.0643
Image:  83
Initial error: 0.0848
Final error: 0.0559
Image:  84
Initial error: 0.1770
Final error: 0.2751
Image:  84
Initial error: 0.0509
Final error: 0.0448
Image:  84
Initial error: 0.1399
Final error: 0.0388
Image:  84
Initial error: 0.0792
Final error: 0.0412
Image:  84
Initial error: 0.0749
Final error: 0.0460
Image:  85
Initial error: 0.1855
Final error: 0.0879
Image:  85
Initial error: 0.0677
Final error: 0.0628
Image:  85
Initial error: 0.1417
Final error: 0.0571
Image:  85
Initial error: 0.0875
Final error: 0.0560
Image:  85
Initial error: 0.0856
Final error: 0.0510
Image:  86
Initial error: 0.1871
Final error: 0.1276
Image:  86
Initial error: 0.0435
Final error: 0.0456
Image:  86
Initial error: 0.1324
Final error: 0.0564
Image:  86
Initial error: 0.0836
Final error: 0.0461
Image:  86
Initial error: 0.0626
Final error: 0.0440
Image:  87
Initial error: 0.1764
Final error: 0.0307
Image:  87
Initial error: 0.0737
Final error: 0.0528
Image:  87
Initial error: 0.1481
Final error: 0.0530
Image:  87
Initial error: 0.1001
Final error: 0.0572
Image:  87
Initial error: 0.0916
Final error: 0.0618
Image:  88
Initial error: 0.1840
Final error: 0.2094
Image:  88
Initial error: 0.0708
Final error: 0.1981
Image:  88
Initial error: 0.1393
Final error: 0.2520
Image:  88
Initial error: 0.0947
Final error: 0.1849
Image:  88
Initial error: 0.0815
Final error: 0.1995
Image:  89
Initial error: 0.1768
Final error: 0.1117
Image:  89
Initial error: 0.0782
Final error: 0.1124
Image:  89
Initial error: 0.1499
Final error: 0.1954
Image:  89
Initial error: 0.1045
Final error: 0.1059
Image:  89
Initial error: 0.0944
Final error: 0.0998
Image:  90
Initial error: 0.1709
Final error: 0.0475
Image:  90
Initial error: 0.0733
Final error: 0.0550
Image:  90
Initial error: 0.1451
Final error: 0.0420
Image:  90
Initial error: 0.1002
Final error: 0.0478
Image:  90
Initial error: 0.0801
Final error: 0.0393
Image:  91
Initial error: 0.1812
Final error: 0.0484
Image:  91
Initial error: 0.0807
Final error: 0.0489
Image:  91
Initial error: 0.1511
Final error: 0.0515
Image:  91
Initial error: 0.1053
Final error: 0.0503
Image:  91
Initial error: 0.0932
Final error: 0.0483
Image:  92
Initial error: 0.1864
Final error: 0.0598
Image:  92
Initial error: 0.0838
Final error: 0.0555
Image:  92
Initial error: 0.1397
Final error: 0.0489
Image:  92
Initial error: 0.1026
Final error: 0.0652
Image:  92
Initial error: 0.0861
Final error: 0.0515
Image:  93
Initial error: 0.1676
Final error: 0.2174
Image:  93
Initial error: 0.0700
Final error: 0.0535
Image:  93
Initial error: 0.1479
Final error: 0.1077
Image:  93
Initial error: 0.0983
Final error: 0.0552
Image:  93
Initial error: 0.0832
Final error: 0.0513
Image:  94
Initial error: 0.1789
Final error: 0.0344
Image:  94
Initial error: 0.0489
Final error: 0.0357
Image:  94
Initial error: 0.1375
Final error: 0.0418
Image:  94
Initial error: 0.0844
Final error: 0.0312
Image:  94
Initial error: 0.0716
Final error: 0.0414
Image:  95
Initial error: 0.1854
Final error: 0.0553
Image:  95
Initial error: 0.0961
Final error: 0.0687
Image:  95
Initial error: 0.1569
Final error: 0.0648
Image:  95
Initial error: 0.1126
Final error: 0.0761
Image:  95
Initial error: 0.1092
Final error: 0.0671
Image:  96
Initial error: 0.1808
Final error: 0.1769
Image:  96
Initial error: 0.0666
Final error: 0.0605
Image:  96
Initial error: 0.1387
Final error: 0.0683
Image:  96
Initial error: 0.0905
Final error: 0.0193
Image:  96
Initial error: 0.0769
Final error: 0.0858
Image:  97
Initial error: 0.1869
Final error: 0.0560
Image:  97
Initial error: 0.1082
Final error: 0.0596
Image:  97
Initial error: 0.1624
Final error: 0.0797
Image:  97
Initial error: 0.1218
Final error: 0.0616
Image:  97
Initial error: 0.1191
Final error: 0.0755
Image:  98
Initial error: 0.1860
Final error: 0.1701
Image:  98
Initial error: 0.0541
Final error: 0.0627
Image:  98
Initial error: 0.1321
Final error: 0.1085
Image:  98
Initial error: 0.0851
Final error: 0.0699
Image:  98
Initial error: 0.0642
Final error: 0.0587
Image:  99
Initial error: 0.1737
Final error: 0.0314
Image:  99
Initial error: 0.0708
Final error: 0.0411
Image:  99
Initial error: 0.1458
Final error: 0.0425
Image:  99
Initial error: 0.0937
Final error: 0.0374
Image:  99
Initial error: 0.0884
Final error: 0.0468
Image:  100
Initial error: 0.1665
Final error: 0.2091
Image:  100
Initial error: 0.0864
Final error: 0.1503
Image:  100
Initial error: 0.1550
Final error: 0.1373
Image:  100
Initial error: 0.1135
Final error: 0.0923
Image:  100
Initial error: 0.0955
Final error: 0.1492
Image:  101
Initial error: 0.1754
Final error: 0.1005
Image:  101
Initial error: 0.0420
Final error: 0.0525
Image:  101
Initial error: 0.1341
Final error: 0.0460
Image:  101
Initial error: 0.0798
Final error: 0.0484
Image:  101
Initial error: 0.0628
Final error: 0.0537
Image:  102
Initial error: 0.1761
Final error: 0.1133
Image:  102
Initial error: 0.0408
Final error: 0.0490
Image:  102
Initial error: 0.1374
Final error: 0.0506
Image:  102
Initial error: 0.0829
Final error: 0.0450
Image:  102
Initial error: 0.0742
Final error: 0.0520
Image:  103
Initial error: 0.1706
Final error: 0.1046
Image:  103
Initial error: 0.0664
Final error: 0.1122
Image:  103
Initial error: 0.1399
Final error: 0.1551
Image:  103
Initial error: 0.0849
Final error: 0.1267
Image:  103
Initial error: 0.0787
Final error: 0.1120
Image:  104
Initial error: 0.1833
Final error: 0.0320
Image:  104
Initial error: 0.1115
Final error: 0.0268
Image:  104
Initial error: 0.1590
Final error: 0.0225
Image:  104
Initial error: 0.1259
Final error: 0.0313
Image:  104
Initial error: 0.1180
Final error: 0.0302
Image:  105
Initial error: 0.1837
Final error: 0.0988
Image:  105
Initial error: 0.0536
Final error: 0.1455
Image:  105
Initial error: 0.1380
Final error: 0.1191
Image:  105
Initial error: 0.0880
Final error: 0.1079
Image:  105
Initial error: 0.0726
Final error: 0.1329
Image:  106
Initial error: 0.1705
Final error: 0.0319
Image:  106
Initial error: 0.0712
Final error: 0.0368
Image:  106
Initial error: 0.1502
Final error: 0.0344
Image:  106
Initial error: 0.1022
Final error: 0.0352
Image:  106
Initial error: 0.0910
Final error: 0.0295
Image:  107
Initial error: 0.1793
Final error: 0.2778
Image:  107
Initial error: 0.0702
Final error: 0.0490
Image:  107
Initial error: 0.1434
Final error: 0.0380
Image:  107
Initial error: 0.0976
Final error: 0.0498
Image:  107
Initial error: 0.0846
Final error: 0.0485
Image:  108
Initial error: 0.1747
Final error: 0.0576
Image:  108
Initial error: 0.0747
Final error: 0.0584
Image:  108
Initial error: 0.1470
Final error: 0.0545
Image:  108
Initial error: 0.1023
Final error: 0.0676
Image:  108
Initial error: 0.0916
Final error: 0.0555
Image:  109
Initial error: 0.1739
Final error: 0.1226
Image:  109
Initial error: 0.0743
Final error: 0.0330
Image:  109
Initial error: 0.1470
Final error: 0.0261
Image:  109
Initial error: 0.0947
Final error: 0.0262
Image:  109
Initial error: 0.0859
Final error: 0.0270
Image:  110
Initial error: 0.1727
Final error: 0.0724
Image:  110
Initial error: 0.0696
Final error: 0.0578
Image:  110
Initial error: 0.1472
Final error: 0.0508
Image:  110
Initial error: 0.0971
Final error: 0.0518
Image:  110
Initial error: 0.0876
Final error: 0.0658
Image:  111
Initial error: 0.1759
Final error: 0.2174
Image:  111
Initial error: 0.0440
Final error: 0.0545
Image:  111
Initial error: 0.1355
Final error: 0.0528
Image:  111
Initial error: 0.0801
Final error: 0.0567
Image:  111
Initial error: 0.0654
Final error: 0.0569
Image:  112
Initial error: 0.1902
Final error: 0.0525
Image:  112
Initial error: 0.0502
Final error: 0.0538
Image:  112
Initial error: 0.1327
Final error: 0.1197
Image:  112
Initial error: 0.0867
Final error: 0.0524
Image:  112
Initial error: 0.0639
Final error: 0.0570
Image:  113
Initial error: 0.1751
Final error: 0.1476
Image:  113
Initial error: 0.0862
Final error: 0.0234
Image:  113
Initial error: 0.1528
Final error: 0.0285
Image:  113
Initial error: 0.1067
Final error: 0.0295
Image:  113
Initial error: 0.1004
Final error: 0.0263
Image:  114
Initial error: 0.1862
Final error: 0.3358
Image:  114
Initial error: 0.0511
Final error: 0.0495
Image:  114
Initial error: 0.1313
Final error: 0.1177
Image:  114
Initial error: 0.0860
Final error: 0.0694
Image:  114
Initial error: 0.0619
Final error: 0.1367
Image:  115
Initial error: 0.1856
Final error: 0.2018
Image:  115
Initial error: 0.1018
Final error: 0.0670
Image:  115
Initial error: 0.1595
Final error: 0.0398
Image:  115
Initial error: 0.1151
Final error: 0.0542
Image:  115
Initial error: 0.1130
Final error: 0.0557
Image:  116
Initial error: 0.1724
Final error: 0.0545
Image:  116
Initial error: 0.0668
Final error: 0.0531
Image:  116
Initial error: 0.1464
Final error: 0.1011
Image:  116
Initial error: 0.0944
Final error: 0.0478
Image:  116
Initial error: 0.0847
Final error: 0.0428
Image:  117
Initial error: 0.1823
Final error: 0.0440
Image:  117
Initial error: 0.0594
Final error: 0.0477
Image:  117
Initial error: 0.1384
Final error: 0.0505
Image:  117
Initial error: 0.0892
Final error: 0.0421
Image:  117
Initial error: 0.0715
Final error: 0.0488
Image:  118
Initial error: 0.1766
Final error: 0.0432
Image:  118
Initial error: 0.0596
Final error: 0.0474
Image:  118
Initial error: 0.1433
Final error: 0.0547
Image:  118
Initial error: 0.0877
Final error: 0.0537
Image:  118
Initial error: 0.0825
Final error: 0.0513
Image:  119
Initial error: 0.1748
Final error: 0.1066
Image:  119
Initial error: 0.0802
Final error: 0.0688
Image:  119
Initial error: 0.1510
Final error: 0.0336
Image:  119
Initial error: 0.1085
Final error: 0.0694
Image:  119
Initial error: 0.0962
Final error: 0.0586
Image:  120
Initial error: 0.1794
Final error: 0.0438
Image:  120
Initial error: 0.0617
Final error: 0.0456
Image:  120
Initial error: 0.1415
Final error: 0.1019
Image:  120
Initial error: 0.0900
Final error: 0.0435
Image:  120
Initial error: 0.0817
Final error: 0.0616
Image:  121
Initial error: 0.1849
Final error: 0.0663
Image:  121
Initial error: 0.0492
Final error: 0.0613
Image:  121
Initial error: 0.1363
Final error: 0.0617
Image:  121
Initial error: 0.0817
Final error: 0.0728
Image:  121
Initial error: 0.0688
Final error: 0.0641
Image:  122
Initial error: 0.1816
Final error: 0.0471
Image:  122
Initial error: 0.0702
Final error: 0.0379
Image:  122
Initial error: 0.1413
Final error: 0.0312
Image:  122
Initial error: 0.0947
Final error: 0.0346
Image:  122
Initial error: 0.0835
Final error: 0.0424
Image:  123
Initial error: 0.1929
Final error: 0.0497
Image:  123
Initial error: 0.0593
Final error: 0.0741
Image:  123
Initial error: 0.1377
Final error: 0.1015
Image:  123
Initial error: 0.0910
Final error: 0.0780
Image:  123
Initial error: 0.0773
Final error: 0.0533
Image:  124
Initial error: 0.1790
Final error: 0.3832
Image:  124
Initial error: 0.0744
Final error: 0.0558
Image:  124
Initial error: 0.1441
Final error: 0.0636
Image:  124
Initial error: 0.1002
Final error: 0.0631
Image:  124
Initial error: 0.0873
Final error: 0.0649
Image:  125
Initial error: 0.1895
Final error: 0.2434
Image:  125
Initial error: 0.0741
Final error: 0.1153
Image:  125
Initial error: 0.1359
Final error: 0.0706
Image:  125
Initial error: 0.0899
Final error: 0.1103
Image:  125
Initial error: 0.0790
Final error: 0.1140
Image:  126
Initial error: 0.1987
Final error: 0.0349
Image:  126
Initial error: 0.0658
Final error: 0.0259
Image:  126
Initial error: 0.1333
Final error: 0.2024
Image:  126
Initial error: 0.1006
Final error: 0.0282
Image:  126
Initial error: 0.0678
Final error: 0.0261
Image:  127
Initial error: 0.2036
Final error: 0.0852
Image:  127
Initial error: 0.1264
Final error: 0.1577
Image:  127
Initial error: 0.1746
Final error: 0.1163
Image:  127
Initial error: 0.1342
Final error: 0.1407
Image:  127
Initial error: 0.1369
Final error: 0.0764
Image:  128
Initial error: 0.1831
Final error: 0.0239
Image:  128
Initial error: 0.0577
Final error: 0.0320
Image:  128
Initial error: 0.1377
Final error: 0.0368
Image:  128
Initial error: 0.0924
Final error: 0.0432
Image:  128
Initial error: 0.0740
Final error: 0.0321
Image:  129
Initial error: 0.1842
Final error: 0.0585
Image:  129
Initial error: 0.0817
Final error: 0.0567
Image:  129
Initial error: 0.1444
Final error: 0.0491
Image:  129
Initial error: 0.1065
Final error: 0.0585
Image:  129
Initial error: 0.0913
Final error: 0.0513
Image:  130
Initial error: 0.1965
Final error: 0.0339
Image:  130
Initial error: 0.0825
Final error: 0.0390
Image:  130
Initial error: 0.1354
Final error: 0.0475
Image:  130
Initial error: 0.1041
Final error: 0.0398
Image:  130
Initial error: 0.0848
Final error: 0.0391
Image:  131
Initial error: 0.1799
Final error: 0.0586
Image:  131
Initial error: 0.0484
Final error: 0.0580
Image:  131
Initial error: 0.1382
Final error: 0.1500
Image:  131
Initial error: 0.0782
Final error: 0.0551
Image:  131
Initial error: 0.0703
Final error: 0.1190
Image:  132
Initial error: 0.1919
Final error: 0.0392
Image:  132
Initial error: 0.0719
Final error: 0.0441
Image:  132
Initial error: 0.1377
Final error: 0.1512
Image:  132
Initial error: 0.0978
Final error: 0.0405
Image:  132
Initial error: 0.0794
Final error: 0.0416
Image:  133
Initial error: 0.1930
Final error: 0.1484
Image:  133
Initial error: 0.0880
Final error: 0.1179
Image:  133
Initial error: 0.1550
Final error: 0.1608
Image:  133
Initial error: 0.1146
Final error: 0.1731
Image:  133
Initial error: 0.1021
Final error: 0.1182
Image:  134
Initial error: 0.1877
Final error: 0.2963
Image:  134
Initial error: 0.0663
Final error: 0.0372
Image:  134
Initial error: 0.1418
Final error: 0.0363
Image:  134
Initial error: 0.0976
Final error: 0.0939
Image:  134
Initial error: 0.0818
Final error: 0.0701
Image:  135
Initial error: 0.1809
Final error: 0.0704
Image:  135
Initial error: 0.0722
Final error: 0.0655
Image:  135
Initial error: 0.1466
Final error: 0.0770
Image:  135
Initial error: 0.0998
Final error: 0.0765
Image:  135
Initial error: 0.0904
Final error: 0.0545
Image:  136
Initial error: 0.1914
Final error: 0.2260
Image:  136
Initial error: 0.0605
Final error: 0.0451
Image:  136
Initial error: 0.1322
Final error: 0.0477
Image:  136
Initial error: 0.0888
Final error: 0.0431
Image:  136
Initial error: 0.0669
Final error: 0.0457
Image:  137
Initial error: 0.1809
Final error: 0.2691
Image:  137
Initial error: 0.0522
Final error: 0.0626
Image:  137
Initial error: 0.1347
Final error: 0.0593
Image:  137
Initial error: 0.0880
Final error: 0.0990
Image:  137
Initial error: 0.0656
Final error: 0.0641
Image:  138
Initial error: 0.1890
Final error: 0.0373
Image:  138
Initial error: 0.0577
Final error: 0.0325
Image:  138
Initial error: 0.1315
Final error: 0.0373
Image:  138
Initial error: 0.0902
Final error: 0.0329
Image:  138
Initial error: 0.0651
Final error: 0.0440
Image:  139
Initial error: 0.1857
Final error: 0.0930
Image:  139
Initial error: 0.0690
Final error: 0.0981
Image:  139
Initial error: 0.1438
Final error: 0.2671
Image:  139
Initial error: 0.0942
Final error: 0.0993
Image:  139
Initial error: 0.0859
Final error: 0.0970
Image:  140
Initial error: 0.1917
Final error: 0.0330
Image:  140
Initial error: 0.0591
Final error: 0.0306
Image:  140
Initial error: 0.1335
Final error: 0.0988
Image:  140
Initial error: 0.0887
Final error: 0.0319
Image:  140
Initial error: 0.0683
Final error: 0.0392
Image:  141
Initial error: 0.1797
Final error: 0.0443
Image:  141
Initial error: 0.0452
Final error: 0.0419
Image:  141
Initial error: 0.1330
Final error: 0.0487
Image:  141
Initial error: 0.0821
Final error: 0.0545
Image:  141
Initial error: 0.0623
Final error: 0.0453
Image:  142
Initial error: 0.1790
Final error: 0.0905
Image:  142
Initial error: 0.0657
Final error: 0.0492
Image:  142
Initial error: 0.1414
Final error: 0.0445
Image:  142
Initial error: 0.0909
Final error: 0.0480
Image:  142
Initial error: 0.0819
Final error: 0.0444
Image:  143
Initial error: 0.1839
Final error: 0.0611
Image:  143
Initial error: 0.0980
Final error: 0.0351
Image:  143
Initial error: 0.1591
Final error: 0.0345
Image:  143
Initial error: 0.1135
Final error: 0.0365
Image:  143
Initial error: 0.1100
Final error: 0.0397
Image:  144
Initial error: 0.1811
Final error: 0.0598
Image:  144
Initial error: 0.0565
Final error: 0.0388
Image:  144
Initial error: 0.1386
Final error: 0.0351
Image:  144
Initial error: 0.0872
Final error: 0.0466
Image:  144
Initial error: 0.0732
Final error: 0.0450
Image:  145
Initial error: 0.1812
Final error: 0.0914
Image:  145
Initial error: 0.0645
Final error: 0.0660
Image:  145
Initial error: 0.1396
Final error: 0.0681
Image:  145
Initial error: 0.0900
Final error: 0.0887
Image:  145
Initial error: 0.0825
Final error: 0.0709
Image:  146
Initial error: 0.1895
Final error: 0.1131
Image:  146
Initial error: 0.1089
Final error: 0.0703
Image:  146
Initial error: 0.1581
Final error: 0.1205
Image:  146
Initial error: 0.1262
Final error: 0.0679
Image:  146
Initial error: 0.1156
Final error: 0.0899
Image:  147
Initial error: 0.1796
Final error: 0.1084
Image:  147
Initial error: 0.0628
Final error: 0.0565
Image:  147
Initial error: 0.1391
Final error: 0.0377
Image:  147
Initial error: 0.0897
Final error: 0.0973
Image:  147
Initial error: 0.0731
Final error: 0.0430
Image:  148
Initial error: 0.1932
Final error: 0.0441
Image:  148
Initial error: 0.0708
Final error: 0.0385
Image:  148
Initial error: 0.1353
Final error: 0.0425
Image:  148
Initial error: 0.0936
Final error: 0.0426
Image:  148
Initial error: 0.0754
Final error: 0.0468
Image:  149
Initial error: 0.1861
Final error: 0.0401
Image:  149
Initial error: 0.0586
Final error: 0.0430
Image:  149
Initial error: 0.1346
Final error: 0.0429
Image:  149
Initial error: 0.0845
Final error: 0.0384
Image:  149
Initial error: 0.0694
Final error: 0.0406
Image:  150
Initial error: 0.1816
Final error: 0.0406
Image:  150
Initial error: 0.0576
Final error: 0.0433
Image:  150
Initial error: 0.1376
Final error: 0.0395
Image:  150
Initial error: 0.0863
Final error: 0.0463
Image:  150
Initial error: 0.0701
Final error: 0.0366
Image:  151
Initial error: 0.1910
Final error: 0.1820
Image:  151
Initial error: 0.0641
Final error: 0.0354
Image:  151
Initial error: 0.1338
Final error: 0.0447
Image:  151
Initial error: 0.0858
Final error: 0.0323
Image:  151
Initial error: 0.0703
Final error: 0.0396
Image:  152
Initial error: 0.1782
Final error: 0.0362
Image:  152
Initial error: 0.0456
Final error: 0.0372
Image:  152
Initial error: 0.1372
Final error: 0.0386
Image:  152
Initial error: 0.0760
Final error: 0.0329
Image:  152
Initial error: 0.0688
Final error: 0.0361
Image:  153
Initial error: 0.1838
Final error: 0.0641
Image:  153
Initial error: 0.0794
Final error: 0.0650
Image:  153
Initial error: 0.1423
Final error: 0.1407
Image:  153
Initial error: 0.0972
Final error: 0.0571
Image:  153
Initial error: 0.0868
Final error: 0.0644
Image:  154
Initial error: 0.1841
Final error: 0.0786
Image:  154
Initial error: 0.0840
Final error: 0.0766
Image:  154
Initial error: 0.1520
Final error: 0.0682
Image:  154
Initial error: 0.1050
Final error: 0.0775
Image:  154
Initial error: 0.0996
Final error: 0.0773
Image:  155
Initial error: 0.1897
Final error: 0.0665
Image:  155
Initial error: 0.0873
Final error: 0.0695
Image:  155
Initial error: 0.1545
Final error: 0.1228
Image:  155
Initial error: 0.1103
Final error: 0.0772
Image:  155
Initial error: 0.1013
Final error: 0.0682
Image:  156
Initial error: 0.1783
Final error: 0.0242
Image:  156
Initial error: 0.0790
Final error: 0.0351
Image:  156
Initial error: 0.1448
Final error: 0.0216
Image:  156
Initial error: 0.1011
Final error: 0.0365
Image:  156
Initial error: 0.0891
Final error: 0.0263
Image:  157
Initial error: 0.1821
Final error: 0.0504
Image:  157
Initial error: 0.0651
Final error: 0.0518
Image:  157
Initial error: 0.1423
Final error: 0.0512
Image:  157
Initial error: 0.0901
Final error: 0.0551
Image:  157
Initial error: 0.0807
Final error: 0.0410
Image:  158
Initial error: 0.1771
Final error: 0.0572
Image:  158
Initial error: 0.0905
Final error: 0.0236
Image:  158
Initial error: 0.1510
Final error: 0.0251
Image:  158
Initial error: 0.1118
Final error: 0.0455
Image:  158
Initial error: 0.0999
Final error: 0.0301
Image:  159
Initial error: 0.1785
Final error: 0.1941
Image:  159
Initial error: 0.0718
Final error: 0.0350
Image:  159
Initial error: 0.1425
Final error: 0.0425
Image:  159
Initial error: 0.0938
Final error: 0.0371
Image:  159
Initial error: 0.0818
Final error: 0.0419
Image:  160
Initial error: 0.1793
Final error: 0.0317
Image:  160
Initial error: 0.0877
Final error: 0.0377
Image:  160
Initial error: 0.1455
Final error: 0.0293
Image:  160
Initial error: 0.1064
Final error: 0.0344
Image:  160
Initial error: 0.0890
Final error: 0.0283
Image:  161
Initial error: 0.1833
Final error: 0.2386
Image:  161
Initial error: 0.0835
Final error: 0.0155
Image:  161
Initial error: 0.1464
Final error: 0.0226
Image:  161
Initial error: 0.1013
Final error: 0.0239
Image:  161
Initial error: 0.0942
Final error: 0.0345
Image:  162
Initial error: 0.1836
Final error: 0.0532
Image:  162
Initial error: 0.0770
Final error: 0.0570
Image:  162
Initial error: 0.1510
Final error: 0.0516
Image:  162
Initial error: 0.1050
Final error: 0.0562
Image:  162
Initial error: 0.0965
Final error: 0.0537
Image:  163
Initial error: 0.1900
Final error: 0.0666
Image:  163
Initial error: 0.1170
Final error: 0.0749
Image:  163
Initial error: 0.1616
Final error: 0.0676
Image:  163
Initial error: 0.1333
Final error: 0.0702
Image:  163
Initial error: 0.1228
Final error: 0.0720
Image:  164
Initial error: 0.1789
Final error: 0.0419
Image:  164
Initial error: 0.0874
Final error: 0.0402
Image:  164
Initial error: 0.1460
Final error: 0.0426
Image:  164
Initial error: 0.1029
Final error: 0.0416
Image:  164
Initial error: 0.0952
Final error: 0.0415
Image:  165
Initial error: 0.1960
Final error: 0.2625
Image:  165
Initial error: 0.0779
Final error: 0.0766
Image:  165
Initial error: 0.1327
Final error: 0.0730
Image:  165
Initial error: 0.0999
Final error: 0.0688
Image:  165
Initial error: 0.0820
Final error: 0.0701
Image:  166
Initial error: 0.1784
Final error: 0.0336
Image:  166
Initial error: 0.0537
Final error: 0.0341
Image:  166
Initial error: 0.1379
Final error: 0.0313
Image:  166
Initial error: 0.0856
Final error: 0.0344
Image:  166
Initial error: 0.0731
Final error: 0.0309
Image:  167
Initial error: 0.1795
Final error: 0.1781
Image:  167
Initial error: 0.0821
Final error: 0.1012
Image:  167
Initial error: 0.1438
Final error: 0.1074
Image:  167
Initial error: 0.1023
Final error: 0.0888
Image:  167
Initial error: 0.0897
Final error: 0.1113
Image:  168
Initial error: 0.1799
Final error: 0.1387
Image:  168
Initial error: 0.0522
Final error: 0.0588
Image:  168
Initial error: 0.1354
Final error: 0.0992
Image:  168
Initial error: 0.0858
Final error: 0.0340
Image:  168
Initial error: 0.0672
Final error: 0.0758
Image:  169
Initial error: 0.1794
Final error: 0.1234
Image:  169
Initial error: 0.0825
Final error: 0.0952
Image:  169
Initial error: 0.1431
Final error: 0.1275
Image:  169
Initial error: 0.1021
Final error: 0.1034
Image:  169
Initial error: 0.0881
Final error: 0.0957
Image:  170
Initial error: 0.1911
Final error: 0.1755
Image:  170
Initial error: 0.0902
Final error: 0.1004
Image:  170
Initial error: 0.1520
Final error: 0.0640
Image:  170
Initial error: 0.1132
Final error: 0.0959
Image:  170
Initial error: 0.0968
Final error: 0.0974
Image:  171
Initial error: 0.1969
Final error: 0.0953
Image:  171
Initial error: 0.0731
Final error: 0.0873
Image:  171
Initial error: 0.1372
Final error: 0.0792
Image:  171
Initial error: 0.0981
Final error: 0.0556
Image:  171
Initial error: 0.0779
Final error: 0.0723
Image:  172
Initial error: 0.1773
Final error: 0.2041
Image:  172
Initial error: 0.1020
Final error: 0.0331
Image:  172
Initial error: 0.1560
Final error: 0.0316
Image:  172
Initial error: 0.1197
Final error: 0.0305
Image:  172
Initial error: 0.1082
Final error: 0.0354
Image:  173
Initial error: 0.1832
Final error: 0.0385
Image:  173
Initial error: 0.0517
Final error: 0.0368
Image:  173
Initial error: 0.1335
Final error: 0.0369
Image:  173
Initial error: 0.0857
Final error: 0.0377
Image:  173
Initial error: 0.0628
Final error: 0.0370
Image:  174
Initial error: 0.1909
Final error: 0.0684
Image:  174
Initial error: 0.0725
Final error: 0.0641
Image:  174
Initial error: 0.1372
Final error: 0.2355
Image:  174
Initial error: 0.0911
Final error: 0.0623
Image:  174
Initial error: 0.0830
Final error: 0.0602
Image:  175
Initial error: 0.1796
Final error: 0.1315
Image:  175
Initial error: 0.0932
Final error: 0.0420
Image:  175
Initial error: 0.1566
Final error: 0.0468
Image:  175
Initial error: 0.1127
Final error: 0.0506
Image:  175
Initial error: 0.1089
Final error: 0.0421
Image:  176
Initial error: 0.1809
Final error: 0.0701
Image:  176
Initial error: 0.0500
Final error: 0.0782
Image:  176
Initial error: 0.1377
Final error: 0.0619
Image:  176
Initial error: 0.0840
Final error: 0.0652
Image:  176
Initial error: 0.0740
Final error: 0.0671
Image:  177
Initial error: 0.1730
Final error: 0.2344
Image:  177
Initial error: 0.0622
Final error: 0.0603
Image:  177
Initial error: 0.1377
Final error: 0.0515
Image:  177
Initial error: 0.0907
Final error: 0.1099
Image:  177
Initial error: 0.0738
Final error: 0.0540
Image:  178
Initial error: 0.1828
Final error: 0.0377
Image:  178
Initial error: 0.0501
Final error: 0.0401
Image:  178
Initial error: 0.1364
Final error: 0.0343
Image:  178
Initial error: 0.0849
Final error: 0.0300
Image:  178
Initial error: 0.0696
Final error: 0.0426
Image:  179
Initial error: 0.1807
Final error: 0.0541
Image:  179
Initial error: 0.0730
Final error: 0.0585
Image:  179
Initial error: 0.1395
Final error: 0.0586
Image:  179
Initial error: 0.0925
Final error: 0.0555
Image:  179
Initial error: 0.0807
Final error: 0.0597
Image:  180
Initial error: 0.1952
Final error: 0.0668
Image:  180
Initial error: 0.1493
Final error: 0.0523
Image:  180
Initial error: 0.1790
Final error: 0.0666
Image:  180
Initial error: 0.1618
Final error: 0.1396
Image:  180
Initial error: 0.1458
Final error: 0.0562
Image:  181
Initial error: 0.1765
Final error: 0.0284
Image:  181
Initial error: 0.0553
Final error: 0.0280
Image:  181
Initial error: 0.1381
Final error: 0.0822
Image:  181
Initial error: 0.0874
Final error: 0.0251
Image:  181
Initial error: 0.0729
Final error: 0.0246
Image:  182
Initial error: 0.1832
Final error: 0.0357
Image:  182
Initial error: 0.0430
Final error: 0.0430
Image:  182
Initial error: 0.1341
Final error: 0.0405
Image:  182
Initial error: 0.0850
Final error: 0.0325
Image:  182
Initial error: 0.0658
Final error: 0.0432
Image:  183
Initial error: 0.1748
Final error: 0.0868
Image:  183
Initial error: 0.0644
Final error: 0.0313
Image:  183
Initial error: 0.1427
Final error: 0.0432
Image:  183
Initial error: 0.0958
Final error: 0.0284
Image:  183
Initial error: 0.0805
Final error: 0.0313
Image:  184
Initial error: 0.1790
Final error: 0.0397
Image:  184
Initial error: 0.0483
Final error: 0.0425
Image:  184
Initial error: 0.1362
Final error: 0.0416
Image:  184
Initial error: 0.0777
Final error: 0.0422
Image:  184
Initial error: 0.0648
Final error: 0.0401
Image:  185
Initial error: 0.1775
Final error: 0.2488
Image:  185
Initial error: 0.0487
Final error: 0.0459
Image:  185
Initial error: 0.1357
Final error: 0.0476
Image:  185
Initial error: 0.0793
Final error: 0.0404
Image:  185
Initial error: 0.0666
Final error: 0.0410
Image:  186
Initial error: 0.1838
Final error: 0.0477
Image:  186
Initial error: 0.0635
Final error: 0.0423
Image:  186
Initial error: 0.1395
Final error: 0.0485
Image:  186
Initial error: 0.0958
Final error: 0.0429
Image:  186
Initial error: 0.0805
Final error: 0.0494
Image:  187
Initial error: 0.1818
Final error: 0.0446
Image:  187
Initial error: 0.0479
Final error: 0.0321
Image:  187
Initial error: 0.1326
Final error: 0.0379
Image:  187
Initial error: 0.0833
Final error: 0.0333
Image:  187
Initial error: 0.0632
Final error: 0.0335
Image:  188
Initial error: 0.1917
Final error: 0.0791
Image:  188
Initial error: 0.1271
Final error: 0.0281
Image:  188
Initial error: 0.1699
Final error: 0.0299
Image:  188
Initial error: 0.1392
Final error: 0.0317
Image:  188
Initial error: 0.1312
Final error: 0.0491
Image:  189
Initial error: 0.1985
Final error: 0.0582
Image:  189
Initial error: 0.0755
Final error: 0.0792
Image:  189
Initial error: 0.1356
Final error: 0.0841
Image:  189
Initial error: 0.0958
Final error: 0.0581
Image:  189
Initial error: 0.0862
Final error: 0.0805
Image:  190
Initial error: 0.1840
Final error: 0.0929
Image:  190
Initial error: 0.0741
Final error: 0.0955
Image:  190
Initial error: 0.1460
Final error: 0.1287
Image:  190
Initial error: 0.1024
Final error: 0.1588
Image:  190
Initial error: 0.0896
Final error: 0.0902
Image:  191
Initial error: 0.1812
Final error: 0.0785
Image:  191
Initial error: 0.0367
Final error: 0.0819
Image:  191
Initial error: 0.1323
Final error: 0.1591
Image:  191
Initial error: 0.0784
Final error: 0.0750
Image:  191
Initial error: 0.0606
Final error: 0.0773
Image:  192
Initial error: 0.1704
Final error: 0.0981
Image:  192
Initial error: 0.0545
Final error: 0.0908
Image:  192
Initial error: 0.1415
Final error: 0.1083
Image:  192
Initial error: 0.0827
Final error: 0.0896
Image:  192
Initial error: 0.0757
Final error: 0.1004
Image:  193
Initial error: 0.1858
Final error: 0.0645
Image:  193
Initial error: 0.0602
Final error: 0.0694
Image:  193
Initial error: 0.1365
Final error: 0.0758
Image:  193
Initial error: 0.0919
Final error: 0.0670
Image:  193
Initial error: 0.0709
Final error: 0.0594
Image:  194
Initial error: 0.1925
Final error: 0.0539
Image:  194
Initial error: 0.0718
Final error: 0.0457
Image:  194
Initial error: 0.1338
Final error: 0.0413
Image:  194
Initial error: 0.0905
Final error: 0.0528
Image:  194
Initial error: 0.0794
Final error: 0.0801
Image:  195
Initial error: 0.1818
Final error: 0.0322
Image:  195
Initial error: 0.0623
Final error: 0.0320
Image:  195
Initial error: 0.1398
Final error: 0.0354
Image:  195
Initial error: 0.0904
Final error: 0.0433
Image:  195
Initial error: 0.0760
Final error: 0.0341
Image:  196
Initial error: 0.1790
Final error: 0.2861
Image:  196
Initial error: 0.0730
Final error: 0.1531
Image:  196
Initial error: 0.1489
Final error: 0.1471
Image:  196
Initial error: 0.1011
Final error: 0.1404
Image:  196
Initial error: 0.0902
Final error: 0.1516
Image:  197
Initial error: 0.1888
Final error: 0.0402
Image:  197
Initial error: 0.0891
Final error: 0.0486
Image:  197
Initial error: 0.1502
Final error: 0.0420
Image:  197
Initial error: 0.1039
Final error: 0.0476
Image:  197
Initial error: 0.0992
Final error: 0.0481
Image:  198
Initial error: 0.1818
Final error: 0.2479
Image:  198
Initial error: 0.0766
Final error: 0.0896
Image:  198
Initial error: 0.1408
Final error: 0.0489
Image:  198
Initial error: 0.0955
Final error: 0.0763
Image:  198
Initial error: 0.0837
Final error: 0.0545
Image:  199
Initial error: 0.1772
Final error: 0.0606
Image:  199
Initial error: 0.0524
Final error: 0.0674
Image:  199
Initial error: 0.1368
Final error: 0.0599
Image:  199
Initial error: 0.0786
Final error: 0.0622
Image:  199
Initial error: 0.0666
Final error: 0.0641
Image:  200
Initial error: 0.1819
Final error: 0.0783
Image:  200
Initial error: 0.0779
Final error: 0.0597
Image:  200
Initial error: 0.1485
Final error: 0.0735
Image:  200
Initial error: 0.1051
Final error: 0.0632
Image:  200
Initial error: 0.0943
Final error: 0.0680
Image:  201
Initial error: 0.1784
Final error: 0.2250
Image:  201
Initial error: 0.0526
Final error: 0.0437
Image:  201
Initial error: 0.1338
Final error: 0.0361
Image:  201
Initial error: 0.0858
Final error: 0.0373
Image:  201
Initial error: 0.0671
Final error: 0.0372
Image:  202
Initial error: 0.1789
Final error: 0.0507
Image:  202
Initial error: 0.0466
Final error: 0.0352
Image:  202
Initial error: 0.1344
Final error: 0.0579
Image:  202
Initial error: 0.0819
Final error: 0.0343
Image:  202
Initial error: 0.0671
Final error: 0.0505
Image:  203
Initial error: 0.1956
Final error: 0.1544
Image:  203
Initial error: 0.0683
Final error: 0.0746
Image:  203
Initial error: 0.1330
Final error: 0.0642
Image:  203
Initial error: 0.0948
Final error: 0.0594
Image:  203
Initial error: 0.0786
Final error: 0.0683
Image:  204
Initial error: 0.1782
Final error: 0.1457
Image:  204
Initial error: 0.0626
Final error: 0.0372
Image:  204
Initial error: 0.1389
Final error: 0.0326
Image:  204
Initial error: 0.0868
Final error: 0.0510
Image:  204
Initial error: 0.0686
Final error: 0.0365
Image:  205
Initial error: 0.1758
Final error: 0.0685
Image:  205
Initial error: 0.0593
Final error: 0.0434
Image:  205
Initial error: 0.1369
Final error: 0.0485
Image:  205
Initial error: 0.0890
Final error: 0.0472
Image:  205
Initial error: 0.0718
Final error: 0.0485
Image:  206
Initial error: 0.1874
Final error: 0.0548
Image:  206
Initial error: 0.0988
Final error: 0.0477
Image:  206
Initial error: 0.1590
Final error: 0.0543
Image:  206
Initial error: 0.1177
Final error: 0.0493
Image:  206
Initial error: 0.1090
Final error: 0.0589
Image:  207
Initial error: 0.1891
Final error: 0.0345
Image:  207
Initial error: 0.0791
Final error: 0.0373
Image:  207
Initial error: 0.1485
Final error: 0.0358
Image:  207
Initial error: 0.1080
Final error: 0.0354
Image:  207
Initial error: 0.0941
Final error: 0.0411
Image:  208
Initial error: 0.1867
Final error: 0.0663
Image:  208
Initial error: 0.0719
Final error: 0.0631
Image:  208
Initial error: 0.1435
Final error: 0.0613
Image:  208
Initial error: 0.1005
Final error: 0.0580
Image:  208
Initial error: 0.0876
Final error: 0.0689
Image:  209
Initial error: 0.1900
Final error: 0.0475
Image:  209
Initial error: 0.0534
Final error: 0.0496
Image:  209
Initial error: 0.1328
Final error: 0.0473
Image:  209
Initial error: 0.0894
Final error: 0.0496
Image:  209
Initial error: 0.0648
Final error: 0.0537
Image:  210
Initial error: 0.1814
Final error: 0.3303
Image:  210
Initial error: 0.0725
Final error: 0.0332
Image:  210
Initial error: 0.1428
Final error: 0.0403
Image:  210
Initial error: 0.0937
Final error: 0.0387
Image:  210
Initial error: 0.0852
Final error: 0.0362
Image:  211
Initial error: 0.1814
Final error: 0.0851
Image:  211
Initial error: 0.0870
Final error: 0.0439
Image:  211
Initial error: 0.1530
Final error: 0.0385
Image:  211
Initial error: 0.1090
Final error: 0.0388
Image:  211
Initial error: 0.1030
Final error: 0.0572
Image:  212
Initial error: 0.1884
Final error: 0.0311
Image:  212
Initial error: 0.0460
Final error: 0.0309
Image:  212
Initial error: 0.1332
Final error: 0.0283
Image:  212
Initial error: 0.0845
Final error: 0.0315
Image:  212
Initial error: 0.0649
Final error: 0.0315
Image:  213
Initial error: 0.1799
Final error: 0.0476
Image:  213
Initial error: 0.0692
Final error: 0.0515
Image:  213
Initial error: 0.1416
Final error: 0.0488
Image:  213
Initial error: 0.0921
Final error: 0.0577
Image:  213
Initial error: 0.0830
Final error: 0.0550
Image:  214
Initial error: 0.1771
Final error: 0.0731
Image:  214
Initial error: 0.0623
Final error: 0.0649
Image:  214
Initial error: 0.1416
Final error: 0.0596
Image:  214
Initial error: 0.0891
Final error: 0.0532
Image:  214
Initial error: 0.0804
Final error: 0.0684
Image:  215
Initial error: 0.1792
Final error: 0.0927
Image:  215
Initial error: 0.0768
Final error: 0.0904
Image:  215
Initial error: 0.1490
Final error: 0.0999
Image:  215
Initial error: 0.1026
Final error: 0.0906
Image:  215
Initial error: 0.0920
Final error: 0.0917
Image:  216
Initial error: 0.1737
Final error: 0.0853
Image:  216
Initial error: 0.0669
Final error: 0.0399
Image:  216
Initial error: 0.1483
Final error: 0.0443
Image:  216
Initial error: 0.0946
Final error: 0.0487
Image:  216
Initial error: 0.0892
Final error: 0.0511
Image:  217
Initial error: 0.1771
Final error: 0.0553
Image:  217
Initial error: 0.0458
Final error: 0.0600
Image:  217
Initial error: 0.1330
Final error: 0.0523
Image:  217
Initial error: 0.0834
Final error: 0.0463
Image:  217
Initial error: 0.0622
Final error: 0.0502
Image:  218
Initial error: 0.1763
Final error: 0.0406
Image:  218
Initial error: 0.0536
Final error: 0.0403
Image:  218
Initial error: 0.1383
Final error: 0.0494
Image:  218
Initial error: 0.0870
Final error: 0.0464
Image:  218
Initial error: 0.0707
Final error: 0.0416
Image:  219
Initial error: 0.1786
Final error: 0.1688
Image:  219
Initial error: 0.0542
Final error: 0.0568
Image:  219
Initial error: 0.1348
Final error: 0.0536
Image:  219
Initial error: 0.0806
Final error: 0.0554
Image:  219
Initial error: 0.0689
Final error: 0.0536
Image:  220
Initial error: 0.1840
Final error: 0.0349
Image:  220
Initial error: 0.0642
Final error: 0.0314
Image:  220
Initial error: 0.1414
Final error: 0.0333
Image:  220
Initial error: 0.0906
Final error: 0.0369
Image:  220
Initial error: 0.0819
Final error: 0.0284
Image:  221
Initial error: 0.1798
Final error: 0.0696
Image:  221
Initial error: 0.0878
Final error: 0.0760
Image:  221
Initial error: 0.1544
Final error: 0.0724
Image:  221
Initial error: 0.1063
Final error: 0.0692
Image:  221
Initial error: 0.1017
Final error: 0.0681
Image:  222
Initial error: 0.1831
Final error: 0.2635
Image:  222
Initial error: 0.0525
Final error: 0.0554
Image:  222
Initial error: 0.1337
Final error: 0.0548
Image:  222
Initial error: 0.0821
Final error: 0.0605
Image:  222
Initial error: 0.0665
Final error: 0.0529
Image:  223
Initial error: 0.1753
Final error: 0.1987
Image:  223
Initial error: 0.0568
Final error: 0.0323
Image:  223
Initial error: 0.1417
Final error: 0.0284
Image:  223
Initial error: 0.0871
Final error: 0.0289
Image:  223
Initial error: 0.0767
Final error: 0.0262
Image:  224
Initial error: 0.1834
Final error: 0.3036
Image:  224
Initial error: 0.0614
Final error: 0.0572
Image:  224
Initial error: 0.1372
Final error: 0.0622
Image:  224
Initial error: 0.0868
Final error: 0.0640
Image:  224
Initial error: 0.0706
Final error: 0.0539
Image:  225
Initial error: 0.1809
Final error: 0.2250
Image:  225
Initial error: 0.0725
Final error: 0.0339
Image:  225
Initial error: 0.1414
Final error: 0.0636
Image:  225
Initial error: 0.0910
Final error: 0.0539
Image:  225
Initial error: 0.0766
Final error: 0.0547
Image:  226
Initial error: 0.1766
Final error: 0.0471
Image:  226
Initial error: 0.0400
Final error: 0.0505
Image:  226
Initial error: 0.1344
Final error: 0.0459
Image:  226
Initial error: 0.0752
Final error: 0.0514
Image:  226
Initial error: 0.0618
Final error: 0.0448
Image:  227
Initial error: 0.1806
Final error: 0.2415
Image:  227
Initial error: 0.0634
Final error: 0.0543
Image:  227
Initial error: 0.1444
Final error: 0.0652
Image:  227
Initial error: 0.0850
Final error: 0.0561
Image:  227
Initial error: 0.0837
Final error: 0.0693
Image:  228
Initial error: 0.1902
Final error: 0.0370
Image:  228
Initial error: 0.0567
Final error: 0.0319
Image:  228
Initial error: 0.1326
Final error: 0.0340
Image:  228
Initial error: 0.0906
Final error: 0.0442
Image:  228
Initial error: 0.0688
Final error: 0.0410
Image:  229
Initial error: 0.1780
Final error: 0.0635
Image:  229
Initial error: 0.0597
Final error: 0.0619
Image:  229
Initial error: 0.1373
Final error: 0.0337
Image:  229
Initial error: 0.0907
Final error: 0.0730
Image:  229
Initial error: 0.0719
Final error: 0.0510
Image:  230
Initial error: 0.1826
Final error: 0.0340
Image:  230
Initial error: 0.0576
Final error: 0.0305
Image:  230
Initial error: 0.1365
Final error: 0.0235
Image:  230
Initial error: 0.0852
Final error: 0.0234
Image:  230
Initial error: 0.0721
Final error: 0.0251
Image:  231
Initial error: 0.1853
Final error: 0.2638
Image:  231
Initial error: 0.0620
Final error: 0.0384
Image:  231
Initial error: 0.1319
Final error: 0.0465
Image:  231
Initial error: 0.0880
Final error: 0.0358
Image:  231
Initial error: 0.0647
Final error: 0.0385
Image:  232
Initial error: 0.1837
Final error: 0.0479
Image:  232
Initial error: 0.0441
Final error: 0.0302
Image:  232
Initial error: 0.1335
Final error: 0.0303
Image:  232
Initial error: 0.0788
Final error: 0.0283
Image:  232
Initial error: 0.0619
Final error: 0.0300

Visualize Results


In [27]:
from menpofit.visualize import visualize_fitting_results
    
visualize_fitting_results(fitter_results)



In [29]:
from alabortcvpr2015.utils import pickle_dump
from alabortcvpr2015.result import SerializableResult

results = [SerializableResult('none', fr.final_shape, fr.n_iters, 'PIC', fr.gt_shape) 
           for fr in fitter_results]

pickle_dump(results, '/data/PhD/Results/aam_pic_view0_fast_dsift')

Timing

Total


In [30]:
%timeit fitter.fit(i, s, gt_shape=gt_s, max_iters=20)


10 loops, best of 3: 33.2 ms per loop

Per line


In [31]:
#import line_profiler
#import IPython

#ip = IPython.get_ipython()
#ip.define_magic('lprun', line_profiler.magic_lprun)

In [32]:
#from alabortcvpr2015.aam import PIC

#%lprun -f PIC.run fitter.fit(i, s, gt_shape=gt_s, max_iters=20)